﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace WPViThanhNien.Supports.Models
{
    /// <summary>
    /// News Model class
    /// </summary>
    public class NewsModel
    {
        private string id;
        private string title;
        private string hotContent;
        private string content;
        private string hotImageUrl;
        private string url;

        public NewsModel()
        {
            Initialize("", "", "", "", "", "");
        }

        public NewsModel(string id, string title, string hotContent, string content, string hotImageUrl, string url)
        {
            Initialize(
                    id,
                    title,
                    hotContent,
                    content,
                    hotImageUrl,
                    url
                );
        }

        public void Initialize(string id, string title, string hotContent, string content, string hotImageUrl, string url)
        {
            this.id = id;
            this.title = title;
            this.hotContent = hotContent;
            this.content = content;
            this.hotImageUrl = hotImageUrl;
            this.url = url;
        }


        #region Properties
        public string Id
        {
            get { return this.id; }
            set { this.id = value; }
        }

        public string Title
        {
            get { return title; }
            set { this.title = value; }
        }

        public string HotContent
        {
            get { return this.hotContent; }
            set { this.hotContent = value; }
        }

        public string Content
        {
            get { return this.content; }
            set { this.content = value; }
        }

        public string HotImageUrl
        {
            get { return this.hotImageUrl; }
            set { this.hotImageUrl = value; }
        }

        public string Url
        {
            get { return this.url; }
            set { this.url = value; }
        }
        #endregion

    }
}
